//
//  PubDef.swift
//  DriverSchoolAPP
//
//  Created by Logel on 2017/4/20.
//  Copyright © 2017年 Logel. All rights reserved.
//

import Foundation
import UIKit

let URLStringGetBooks = "https://api.douban.com/v2/book/search"
let loginUrl = "http://192.168.0.128:9102/api/auth/login"
let TestUrl = "http://192.168.0.128:9102/api/me"
var token = "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ0ZXN0Iiwic2NvcGVzIjpbIlJPTEVfVVNFUiJdLCJpc3MiOiJodHRwOi8vZXRyaXAuY24iLCJpYXQiOjE0OTI1OTEyNDgsImV4cCI6MTQ5MjU5MjE0OH0.VBdy4Ti-KLh0T6J_F2uJ8XFtezL_-j-mtERUuwSRdo_6UEqfOShV-EUpF7vPL8iuNpXMwYX4P2rWP62UWDDN-A"
//118.89.41.214
//let API_URL = "http://192.168.0.131:9102/"
let API_URL = "http://118.89.41.214:9102/"
let IMG_URL = ""
let DG_KEY = "4ebd8f4b8ed739b635ef1839638d25b1"
let KF_PHONE = "0871-67412913"
let WEB_URL = "http://118.89.41.214:3001/"

let F_TZ_URL = WEB_URL + "pages/enroll_need_know.html"
let F_FG_URL = WEB_URL + "pages/policy_info.html"
let F_BZ_URL = WEB_URL + "pages/policy_pic_list.html"
let F_LC_URL = WEB_URL + "pages/study_car1.html"

let F_CGZS_URL = "drivers_site_info/info_show"

let V_DK_URL = "http://upload.video.mucang.cn/2017-05-30/79a20456ce944d30a7c0c11d1b8f08b0.high.mp4"

let V_CF_URL = "http://upload.video.mucang.cn/2017-06-14/1bad7c66e0f54d25b77926b9d37bff30.high.mp4"

let V_ZJ_URL = "http://upload.video.mucang.cn/2017-06-12/232f9b05b5884ba7838e38cf93fa5e73.high.mp4"

let V_SW_URL = "http://upload.video.mucang.cn/2017-06-10/fdbb28a37aea4190b88d5624cc03e218.high.mp4"

let barBackColor = UIColor(red: 87/255.0, green: 194/255.0, blue: 193/255.0, alpha: 1)
let tableLineColor = UIColor(red: 200/255.0, green: 200/255.0, blue: 200/255.0, alpha: 1)
let KP_BG_GRAY = UIColor(red: 232/255.0, green: 230/255.0, blue: 230/255.0, alpha: 1)

let KP_MAIN_BLUE = UIColor(red: 24/255.0, green: 192/255.0, blue: 255/255.0, alpha: 1)

let KP_PINK_1 = UIColor(red: 253/255.0, green: 169/255.0, blue: 187/255.0, alpha: 1)
let KP_YELLOW_2 = UIColor(red: 254/255.0, green: 195/255.0, blue: 108/255.0, alpha: 1)
let KP_BLUE_3 = UIColor(red: 254/255.0, green: 195/255.0, blue: 108/255.0, alpha: 1)
let KP_GREEN_4 = UIColor(red: 254/255.0, green: 195/255.0, blue: 108/255.0, alpha: 1)
let KP_ORINGE_5 = UIColor(red: 254/255.0, green: 195/255.0, blue: 108/255.0, alpha: 1)
let KP_RED_6 = UIColor(red: 254/255.0, green: 195/255.0, blue: 108/255.0, alpha: 1)

let KMainScreenWidth = UIScreen.main.bounds.width
let KMainScreenHeight = UIScreen.main.bounds.height

//METHOD
let M_Login = "api/auth/login"
let M_Regist = "members/register"
let M_FirstPage = "index/banner"
let M_PlacesByAddress = "index/queryPlacesByAddress"
let M_OrderPreSave = "order/preSave"
let M_MyCourse = "members/queryMyCourse"
let M_MyTeacher = "members/queryTeacher"
let M_Reserve = "members/reserve"
let M_Reservations = "members/reservations"
let M_CancelReser = "members/cancelReser"
let M_Learning = "members/queryLearning"
let M_Advice = "members/feedback"
let M_MyOrder = "members/orderpay"
let M_Resetpw = "members/resetpw"
let M_TeacherList = "index/queryTeacher"
let M_Question_Get = "questions/get"
let M_SaveError = "questions/saveError"
let M_SavaTest = "questions/savaTest"
let M_GetError = "questions/getError"
let M_GetClassification = "questions/getClassification"
let M_TestRecord = "questions/queryTests"
let M_Validcode = "/members/validcode"

//支付
let M_SignweixinPay = "pay/signweixinPay"
let M_Signalipay = "pay/signalipay"
let M_CashPay = "pay/cashPay"
let M_OtherweixinPay = "pay/otherweixinPay"
let M_Otheralipay = "pay/otheralipay"










